﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.WMS.Domain.Storage
{
    /// <summary>
    /// 仓库表
    /// </summary>
    public class Warehouse
    {
        [Key]
        public int WarehouseId { get; set; }
        /// <summary>
        /// 仓库编号
        /// </summary>
        public string WarehouseNo { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }
        /// <summary>
        /// 租赁时间
        /// </summary>
        public DateTime LeaseTime { get; set; }
        /// <summary>
        /// 仓库类型
        /// </summary>
        public string WarehouseType { get; set; }
        /// <summary>
        /// 库位类型
        /// </summary>
        public string LocType { get; set; }
        /// <summary>
        /// 所属部门
        /// </summary>
        public int DeptID { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        public int Cannot { get; set; }
        /// <summary>
        /// 是否默认
        /// </summary>
        public int Default { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Adder { get; set; }
        /// <summary>
        /// 面积
        /// </summary>
        public decimal Area { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string ContactPerson { get; set; }
        /// <summary>
        /// 新仓库
        /// </summary>
        public string NewWarehouse { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDel { get; set; }
    }
}
